package org.vordel.incubator.examples.management_api;

import java.io.File;

public class SessionFactory {

	public static Session getLocalSession(File workingDir) throws Exception {
		return new LocalSession(workingDir);
	}
	
	public static Session getRemoteSession(String host,int port,String adminname,String password, File workingDir) throws Exception {
		return new RemoteSession(host,port,adminname,password,workingDir);
	}
}
